package org.demoth.arkanoid;

/**
 * Created by IntelliJ IDEA.
 * User: daniil
 * Date: 20.05.11
 * Time: 22:32
 * To change this template use File | Settings | File Templates.
 */
public class Player extends GameObject {
    public int lives;
    public int score;
    public GameObject ball;
    public GameObject paddle;

    public Player() {
        this.name = "new player";
        this.lives = 3;
    }

    public void update(float time) {
        ball.update(time);
        paddle.update(time);
    }

}